<div id="sidebar">
	<div class="sidetab">
		<?php if(function_exists('dynamic_sidebar')&&dynamic_sidebar()):else:?>
		<?php wp_list_pages('title_li=<h3 class="wd-title">页面</h3>'); ?>
		<div class="widget_categories">
			<h3 class="wd-title"><?php _e('文章分类'); ?></h3>
			<ul>
				<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
			</ul>
		</div>
		<div class="widget_archive">
			<h3 class="wd-title"><?php _e('文章归档'); ?></h3>
			<ul>
				<?php wp_get_archives('type=monthly');?>
			</ul>
		</div>
		<div class="widget_links">
		<h3 class="wd-title">友情链接</h3>
		<ul class="xoxo blogroll">
		<?php get_links(0, '<li>', '</li>', '', TRUE, 'length', FALSE); ?>
		</ul>
		</div>
		<div class="widget_meta">
			<h3 class="wd-title"><?php _e('Meta');?></h3>
			<ul>
				<?php wp_register();?>
				<li><?php wp_loginout();?></li>
				<?php wp_meta();?>
			</ul>
		</div>
		
		<?php endif;?>
	</div>
</div>